package com.lin.reggie;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import javax.xml.crypto.Data;

/**
 * @auther lin
 * @create 2022-05-26 09:19
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan   //开启web组件扫描，扫描过滤器
@EnableTransactionManagement(proxyTargetClass = true)//开启事务

public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
        log.info("项目启动成功");
    }
}
